package cn.caskm.souvenirshopsystem.domain.vo;

import cn.caskm.souvenirshopsystem.utils.DateUtils;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class GoodsCommentVO {

    private Integer id;

    private Integer goodsId;

    private Integer userId;

    private String userName;

    private String avatar;

    private String content;

    private Integer rating;

    private String picture;

    @JsonFormat(pattern = DateUtils.DATE_TIME_FORMAT)
    private LocalDateTime commentTime;

}
